package com.cskt.common.condition;

import java.io.Serializable;
import java.util.List;

/**
 * 商品查询条件实体类
 *
 * @author admin
 * @date 2023/04/15 14:27
 **/

public class SearchProductCondition extends PageCondition implements Serializable {

    /**
     * 品牌ID
     */
    private Long brandId;
    /**
     * 一级分类ID
     */
    private Long productLevel1CategoryId;
    /**
     * 二级分类ID
     */
    private Long productLevel2CategoryId;
    /**
     * 搜索条件
     */
    private String keyWord;
    /**
     * 商品属性ID数组
     */
    private List<Integer> productAttributeIds;
    /**
     * 排序：1->默认；2->销量；3->评论 
     */
    private Integer sort;

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getProductLevel1CategoryId() {
        return productLevel1CategoryId;
    }

    public void setProductLevel1CategoryId(Long productLevel1CategoryId) {
        this.productLevel1CategoryId = productLevel1CategoryId;
    }

    public Long getProductLevel2CategoryId() {
        return productLevel2CategoryId;
    }

    public void setProductLevel2CategoryId(Long productLevel2CategoryId) {
        this.productLevel2CategoryId = productLevel2CategoryId;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public List<Integer> getProductAttributeIds() {
        return productAttributeIds;
    }

    public void setProductAttributeIds(List<Integer> productAttributeIds) {
        this.productAttributeIds = productAttributeIds;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
